package cate.game.role.res.guild.msg.rank;

import cate.common.table.d.GDGuild;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdGuild;
import cate.game.role.Role;
import cate.game.role.RoleSnapshot;
import cate.game.role.base.RoleBase;
import cate.game.role.res.guild.po.GuildPO;
import cate.game.role.res.guild.po.GuildRankItem;
import cate.game.role.res.guild.po.member.GuildMemberDetailPO;
import easy.java.dev.note.NoteField;
import org.apache.commons.collections4.CollectionUtils;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

@ClientMsg(title = "公会排名信息的返回")
public class GuildRankResp implements MsgOutput {
    public GuildRankResp() {
    }

    @NoteField(value = "我的公会")
    public GuildRankItem myGuildData;

    @NoteField(value = "我的排名")
    public int myRank;

    @NoteField(value = "排名")
    public List<GuildRankItem> rank = new ArrayList<>();

    public GuildRankResp(GuildRankItem myGuildData, int myRank, List<GuildRankItem> rank) {
        this.myGuildData = myGuildData;
        this.myRank = myRank;
        this.rank = rank;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdGuild.GUILD_RANK_RESP;
    }

}
